<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link href="../css/index.css" rel="stylesheet">
    <link href="../css/jx.css" rel="stylesheet">
    <link href="../css/ms.css" rel="stylesheet">
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/clear.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/easy-upload.css">
    <link rel="stylesheet" href="../css/metroStyle.css" type="text/css">
    <title>名师信息</title>
    <script src="../js/jquery.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="../js/jquery.ztree.exedit.js"></script>
    <script src="../js/easyUpload.js"></script>
    <script src="../js/template.js"></script>
    <script src="../js/paging.js"></script>
    <script src="../release/wangEditor.js"></script>
    <script src="../js/utilJs/pagejs.js"></script>
    <script src="../js/utilJs/getMenu.js"></script>
    <script src="../js/myUseJs/ms_inside.js"></script>
    <style media="screen">
        .after {
            margin-bottom: 15px;
        }

        .edui-default {
            z-index: 9999999999999999999999999999999999999999999 !important;
            position: relative;
        }

        .content {
            width: 285px !important;
            white-space: normal !important;
        }

        .content p {
            width: 285px !important;
            white-space: normal !important;
        }
    </style>
    <script type="text/javascript">
        var mouseX, mouseY;
        var objX, objY;
        var isDowm = false; //是否按下鼠标
        function mouseDown(obj, e) {
            obj.style.cursor = "move";
            objX = div1.style.left;
            objY = div1.style.top;
            mouseX = e.clientX;
            mouseY = e.clientY;
            isDowm = true;
        }

        function mouseMove(e) {
            var div = document.getElementById("div1");
            var x = e.clientX;
            var y = e.clientY;
            if (isDowm) {
                div.style.left = parseInt(objX) + parseInt(x) - parseInt(mouseX) + "px";
                div.style.top = parseInt(objY) + parseInt(y) - parseInt(mouseY) + "px";
            }
        }

        function mouseUp(e) {
            if (isDowm) {
                var x = e.clientX;
                var y = e.clientY;
                var div = document.getElementById("div1");
                div.style.left = (parseInt(x) - parseInt(mouseX) + parseInt(objX)) + "px";
                div.style.top = (parseInt(y) - parseInt(mouseY) + parseInt(objY)) + "px";
                mouseX = x;
                rewmouseY = y;
                div1.style.cursor = "default";
                isDowm = false;
            }
        }
    </script>
</head>

<body>
<div class="Box clearfix">
    <div class="TopBar">
        <div class="TopBrind">
            <div class="pull-left">
                <p>您好，欢迎来到浙江省高校思想政治理论网上工作平台！</p>
            </div>
            <div class="pull-right">
                <div class="pull-left">
                    <img src="../img/Shape Copy.png" alt="">
                    <span>帮助</span>
                </div>
                <div class="pull-left" style="margin-left:8px">
                    <img id="schoolHeadPic" src="../img/Mask Copy 2.png" alt="">
                    <li class="dropdown pull-right in-accountDiv">
                        <a href="" class="dropdown-toggle" data-toggle="dropdown">
                            <span id="teacherUsername" class="account"></span><span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="/logout"><span class="glyphicon glyphicon-log-out"></span>退出</a></li>
                        </ul>
                    </li>
                </div>
            </div>
        </div>
        <div class="TopTitle">
            <p class="Title"><b>浙江省高校思想政治理论网上工作平台</b></p>
            <p class="SmallEnglish">Zhejiang Province university ideological and political theory online platform</p>
        </div>
        <div class="nav">
            <ul>
                <li id="newsindex"><a href="/sizheng/html/newsindex.html">首页</a></li>
                <li id="jx_main"><a href="/sizheng/html/jx_main.html">教学资源库</a></li>
                <li id="ms_main"><a href="/sizheng/html/ms_main.html">名师工作室</a></li>
                <li id="gxxxgl_main"><a href="/sizheng/html/gxxxgl_main.html">高校信息管理</a></li>
                <li id="gxjl_main"><a href="/sizheng/html/gxjl_main.html">高校交流</a></li>
                <li id="my_mes"><a href="/sizheng/html/my_mes.html">我的信息</a></li>
                <div class="clearfix"></div>
            </ul>
        </div>
    </div>


    <div id="div1" style="top: 250px;left:200px;position: absolute;" onmousedown="mouseDown(this,event)"
         onmousemove="mouseMove(event)" onmouseup="mouseUp(event)">
        <ul class="movebox-ul">
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" id="all">全选
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked disabled class="check checked">个人信息
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked disabled class="check checked">名师简介
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked class="check xslw">学术论文
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked class="check xszz">学术著作
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked class="check wdsp">我的视频
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked class="check jxcg">教学成果
                    </label>
                </div>
            </li>
            <li>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" checked class="check wlzy">网络资源
                    </label>
                </div>
            </li>
        </ul>
        <!--   <div class="form-group pull-right" style="margin-top:10px;">
               <button type="button" class="btn btn-danger btn-sm queding">确定</button>
               <button type="button" class="btn btn-default btn-sm quxiao">取消</button>
           </div>-->
    </div>
    <div class="mainBox">
        <div class="leftBox pull-left">
            <div class="leftBoxTop no-border ">
                <div class="teacher-mes text-center">
                    <img id="headPic" style="width: 70px;height: 95px;" alt="">
                    <div class="teacher-name">
                        <p class="name">张三</p>
                        <p class="xueyuan">计算机科学与技术学院，讲师</p>
                    </div>
                </div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm" data-toggle="modal"
                            data-target="#editHeadImg">编辑头像
                    </button>
                </div>
            </div>
            <div class="leftBoxBotom no-border">
                <div class="TitleBox clearfix border-bottom">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left">
                        名师简介
                    </div>
                </div>
                <div class="gonggao">
                    <div id="berf" class="mx-mes content">
                 <!--        浙江大学计算机学院现代工业设计研究所，讲师，浙江大学－香港理工大学联合培养博士。 　　1999年毕业于湖南大学工业设计系（现设计艺术学院），获得设计艺术学硕士学位。
                        　　2002-2003年在香港理工大学设计学院作访问研究。
                        　　2003年10参加了美国第47届国际人机工程学学术年会。中国人工智能学会智能CAD与数字艺术专委会秘书，中国工业设计协会会员，中国人类工效学学会会员。负责国家自然科学基金项目1项，浙江省自然科学基金项目1项，作为主研人员参加国家九五、国家863/CIMS、国家计委重大课题、国家973课题数项，为30多家企业进行过产品设计与企业形象策划设计。
                        　　参加组织5届计算机辅助工业设计与概念设计（CAIDCD）国际学术会议以及首届智能CAD与数字娱乐学术会议。
                        　　发表论文30余篇，编著2本。主要研究领域为产品创新设计，计算机辅助工业设计，人机工程，人机交互设计，品牌策划设计等。 -->

                    </div>
                </div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm" data-toggle="modal" data-target="#myModal">编辑
                    </button>
                </div>
            </div>
            <div class="leftBoxBotom no-border xszzbox">
                <div class="TitleBox clearfix" data-id="1">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left">
                        学术著作
                    </div>
                </div>
                <div class="gonggao">
                    <ul id="teacherResourceXueShuZhuZuo">
                        <!--   <li class="clearfix"><span>手机界面中基于情境的用户体验设计手机界面中基于情境的用户体验设计</span></li>
                          <li class="clearfix"><span>产品设计中的感性意象理论、技术与应</span></li>
                          <li class="clearfix"><span>面向用户体验的手持移动设备软件界面设计</span></li>
                          <li class="clearfix"><span>手机界面中基于情境的用户体验设计</span></li>
                          <li class="clearfix"><span>产品设计中的感性意象理论、技术与应</span></li>
                          <li class="clearfix"><span>面向用户体验的手持移动设备软件界面设计</span></li> -->
                    </ul>
                </div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm">编辑</button>
                </div>
                <div class="hide">
                    <input type="checkbox" style="margin:8px;" class="pull-left"/>
                    <span class="pull-left" style="margin-top:8px">全选</span>
                    <!--  <button type="button" class="btn btn-danger btn-sm pull-right" style="margin-left:8px">确定</button>
                      <button type="button" class="btn btn-default btn-sm pull-right" style="margin-left:8px">取消</button>-->
                    <button type="button" class="btn btn-default btn-sm pull-right" onclick="xszzelete()">删除</button>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="leftBoxBotom no-border jxcgbox">
                <div class="TitleBox clearfix" data-id="2">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left">
                        教学成果
                    </div>
                </div>
                <div class="gonggao">
                    <ul id="teacherResourceJiaoXueChengGuo">
                        <!--   <li class="clearfix"><span>手机界面中基于情境的用户体验设计手机界面中基于情境的用户体验设计</span></li>
                          <li class="clearfix"><span>产品设计中的感性意象理论、技术与应</span></li>
                          <li class="clearfix"><span>面向用户体验的手持移动设备软件界面设计</span></li>
                          <li class="clearfix"><span>手机界面中基于情境的用户体验设计</span></li>
                          <li class="clearfix"><span>产品设计中的感性意象理论、技术与应</span></li>
                          <li class="clearfix"><span>面向用户体验的手持移动设备软件界面设计</span></li> -->
                    </ul>
                </div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm">编辑</button>
                </div>
                <div class="hide">
                    <input type="checkbox" style="margin:8px;" class="pull-left"/>
                    <span class="pull-left" style="margin-top:8px">全选</span>
                    <!--  <button type="button" class="btn btn-danger btn-sm pull-right" style="margin-left:8px">确定</button>
                      <button type="button" class="btn btn-default btn-sm pull-right" style="margin-left:8px">取消</button>-->
                    <button type="button" class="btn btn-default btn-sm pull-right" onclick="jxcgdelete()">删除</button>
                </div>
            </div>
        </div>
        <div class="RightBox pull-right ">
            <div class="RightBoxTop no-border xslwbox">
                <div class="TitleBox clearfix">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left">
                        学术论文
                    </div>
                </div>
                <div class="teacher-div">
                    <div class="bigNew">
                        <ul id="teacherResourceXueShuLunWen">
                            <!--   <li class="clearfix">
                                   <div class="lunwen">
                                       <p class="bold">面向创意设计的器物知识分类研究</p>
                                       <p>罗仕鉴 董烨楠 《浙江大学学报（工学版）》 EI CSTPCD 北大核心 - 2017年1期</p>
                                       <p>
                                           摘要：为了满足文化创意设计领域对于器物知识的需求,从工业设计出发,通过跨领域专家的协同合作以及迭代设计方法,研究创意设计领域中器物知识的分类.通过专家调查建立器物本体知识分类框架,在实验研究的基础上建立器物设计知识…</p>
                                       <p class="important">关键字：文化创意设计 器物知识 设计知识 分类框架 知识展示系统</p>
                                   </div>
                               </li>
                               <li class="clearfix">
                                   <div class="lunwen">
                                       <p class="bold">面向创意设计的器物知识分类研究</p>
                                       <p>罗仕鉴 董烨楠 《浙江大学学报（工学版）》 EI CSTPCD 北大核心 - 2017年1期</p>
                                       <p>
                                           摘要：为了满足文化创意设计领域对于器物知识的需求,从工业设计出发,通过跨领域专家的协同合作以及迭代设计方法,研究创意设计领域中器物知识的分类.通过专家调查建立器物本体知识分类框架,在实验研究的基础上建立器物设计知识…</p>
                                       <p class="important">关键字：文化创意设计 器物知识 设计知识 分类框架 知识展示系统</p>
                                   </div>
                               </li>
                               <li class="clearfix">
                                   <div class="lunwen">
                                       <p class="bold">面向创意设计的器物知识分类研究</p>
                                       <p>罗仕鉴 董烨楠 《浙江大学学报（工学版）》 EI CSTPCD 北大核心 - 2017年1期</p>
                                       <p>
                                           摘要：为了满足文化创意设计领域对于器物知识的需求,从工业设计出发,通过跨领域专家的协同合作以及迭代设计方法,研究创意设计领域中器物知识的分类.通过专家调查建立器物本体知识分类框架,在实验研究的基础上建立器物设计知识…</p>
                                       <p class="important">关键字：文化创意设计 器物知识 设计知识 分类框架 知识展示系统</p>
                                   </div>
                               </li>
                               <li class="clearfix">
                                   <div class="lunwen">
                                       <p class="bold">面向创意设计的器物知识分类研究</p>
                                       <p>罗仕鉴 董烨楠 《浙江大学学报（工学版）》 EI CSTPCD 北大核心 - 2017年1期</p>
                                       <p>摘要：为了满足文化创意设计领域对于器物知识的需求,从工业设计出发,通过跨领域专家的协同合作以及迭代设计方法,研究创意设计领域中器物知识的分类.
                                           通过专家调查建立器物本体知识分类框架,在实验研究的基础上建立器物设计知识…
                                       </p>
                                       <p class="important">关键字：文化创意设计 器物知识 设计知识 分类框架 知识展示系统</p>
                                   </div>
                               </li>-->
                        </ul>
                    </div>
                </div>
                <div class="pull-right clearfix">
                    <nav aria-label="Page navigation" class="pull-left">
                        <ul class="pagination pagination-sm" id="xueshuPage">
                            <li>
                                <a href="#" aria-label="Previous">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li class="active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li>
                                <a href="#" aria-label="Next">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>
                    </nav>
                    <!--  <div class="dropdown pull-left">
                          <button class="btn btn-sm btn-default dropdown-toggle" type="button" id="dropdownMenu1"
                                  data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"
                                  style="margin-top:20px">
                              10条/页
                              <span class="caret"></span>
                          </button>
                          <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                          </ul>
                      </div>
                      <div class="dramp pull-left">
                          跳至
                          <input type="text" class="drampto" placeholder="12" style="width:65px;margin-top:20px;margin-l">
                          页
                      </div>-->
                </div>
                <div class="clearfix"></div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm">编辑</button>
                </div>
                <div class="hide">
                    <input type="checkbox" style="margin:8px;" class="pull-left"/>
                    <span class="pull-left" style="margin-top:8px">全选</span>
                    <!-- <button type="button" class="btn btn-danger btn-sm pull-right" style="margin-left:8px">确定</button>
                     <button type="button" class="btn btn-default btn-sm pull-right" style="margin-left:8px">取消</button>-->
                    <button type="button" class="btn btn-default btn-sm pull-right" onclick="xslwdelete(this)">删除
                    </button>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="RightBoxBottom no-border wdspbox">
                <div class="TitleBox border-bottom clearfix">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left ">
                        我的视频
                    </div>
                </div>
                <div class="imgBox clearfix" id="resourceWoDeShiPin">
                    <!--   <div class="imgBoxList">
                          <img src="../img/mks.jpg" alt="">
                          <p>世界的物质性及发展规律</p>
                          <p class="time">浙江大学</p>
                      </div> -->

                </div>
                <div class="pull-right clearfix">
                    <nav aria-label="Page navigation" class="pull-left">
                        <ul class="pagination pagination-sm" id="videoPage">
                            <li>
                                <a href="#" aria-label="Previous">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li class="active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li>
                                <a href="#" aria-label="Next">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>
                    </nav>
                    <!--  <div class="dropdown pull-left">
                          <button class="btn btn-sm btn-default dropdown-toggle" type="button" id="dropdownMenu1"
                                  data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"
                                  style="margin-top:20px">
                              10条/页
                              <span class="caret"></span>
                          </button>
                          <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                              <li><a href="#">10条/页</a></li>
                          </ul>
                      </div>
                      <div class="dramp pull-left">
                          跳至
                          <input type="text" class="drampto" placeholder="12" style="width:65px;margin-top:20px;margin-l">
                          页
                      </div>-->
                </div>
                <div class="clearfix"></div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm">编辑</button>
                </div>
                <div class="hide">
                    <input type="checkbox" style="margin:8px;" class="pull-left"/>
                    <span class="pull-left" style="margin-top:8px">全选</span>
                    <!--  <button type="button" class="btn btn-danger btn-sm pull-right" style="margin-left:8px">确定</button>
                      <button type="button" class="btn btn-default btn-sm pull-right" style="margin-left:8px">取消</button>-->
                    <button type="button" class="btn btn-default btn-sm pull-right" onclick="wdspdelete()">删除</button>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="RightBoxBottom no-border clearfix wlzybox" style="margin-top:0px;">
                <div class="TitleBox border-bottom clearfix">
                    <div class="red pull-left"></div>
                    <div class="redTitle pull-left ">
                        网络资源
                    </div>
                </div>
                <div class="wordlist clearfix" id="WangLuoResource">
                    <!--  <div class="col-md-6 border-bottom">
                          <img src="../img/red.png" alt="" class="pull-left">
                          <p class="wordname">第一章 世界的物质性及发展规律</p>
                      </div>
                      <div class="col-md-6 border-bottom">
                          <img src="../img/red.png" alt="" class="pull-left">
                          <p class="wordname">第一章 世界的物质性及发展规律</p>
                      </div>
                      <div class="col-md-6 border-bottom">
                          <img src="../img/blue.png" alt="" class="pull-left">
                          <p class="wordname">第一章 世界的物质性及发展规律</p>
                      </div>
                      <div class="col-md-6 border-bottom">
                          <img src="../img/blue.png" alt="" class="pull-left">
                          <p class="wordname">第一章 世界的物质性及发展规律</p>
                      </div>
                      <div class="col-md-6 border-bottom last-li">
                          <img src="../img/red.png" alt="" class="pull-left">
                          <p class="wordname">第一章 世界的物质性及发展规律</p>
                      </div>-->
                </div>
                <div class="clearfix"></div>
                <div class="edit text-center">
                    <button type="button" class="btn btn-default btn-sm">编辑</button>
                </div>
                <div class="hide">
                    <input type="checkbox" style="margin:8px;" class="pull-left"/>
                    <span class="pull-left" style="margin-top:8px">全选</span>
                    <!--  <button type="button" class="btn btn-danger btn-sm pull-right" style="margin-left:8px">确定</button>
                      <button type="button" class="btn btn-default btn-sm pull-right" style="margin-left:8px">取消</button>-->
                    <button type="button" class="btn btn-default btn-sm pull-right" onclick="deleteWangluo(this)">删除
                    </button>
                </div>
            </div>

        </div>
    </div>
    <div class="clearfix"></div>

    <div class="bottom text-center">
        ©2018 技术部出品
    </div>
</div>
<div class="clearfix"></div>

<div class="other-footerDiv clearfix text-center">
    <div class="">
        <div class="ni-oneDiv">
            <p style="display: inline-block">版权所有 ©2017-2018浙江大学出版社</p>
        </div>
    </div>

    <div class="">
        <div class="ni-wordP">联系我们 电话：88273271 杭州市天目山路148号浙江大学出版社</div>
    </div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content" style="width: 1000px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">编辑简介</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="" style="margin-bottom: 20px">
                        <div class="item_name" style="width:120px;">简介：</div>
                    </div>
                    <div class="field">
                        <div id="editor">
                            <p></p>
                        </div>
                        <script type="text/javascript">
                            var E = window.wangEditor;
                            var editor = new E('#editor');
                            // 或者 var editor = new E( document.getElementById('editor') )
                            editor.create()
                        </script>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary save_msjj" onclick="saveBrief()" data-dismiss="modal">保存
                </button>
            </div>
        </div>
    </div>
</div>
<!-- 新增学术著作-->
<div class="modal fade" id="addResourceT" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">新增学术著作</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">标题：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="zzcgtitle">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="savexxzzcg(this)">保存</button>
            </div>
        </div>
    </div>
</div>
<!-- 新增素材 -->
<div class="modal fade" id="addResourceT2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">新增教学成果</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">标题：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="jxcgtitle">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="savejxcg(this)">保存</button>
            </div>
        </div>
    </div>
</div>
<!--  编辑素材 -->
<div class="modal fade" id="editResourceT" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">编辑素材</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">标题：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="editsszztitle" value="手机一123">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="editsavesszz(this)">保存</button>
            </div>
        </div>
    </div>
</div>

<!-- 新增学术论文 -->
<div class="modal fade" id="addResourceContent" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">新增学术论文</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">标题：</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="xueshutitle" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">摘要：</label>
                        <div class="col-sm-6">
                <textarea class="form-control" rows="6" id="xueshucontent">

                </textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">关键字：</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="keyword" value="">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="savexueshu()">保存</button>
            </div>
        </div>
    </div>
</div>

<!-- 编辑学术论文 -->
<div class="modal fade" id="editResourceContent" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="z-index:2000">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">编辑学术论文</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">标题：</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="editxxlwtitle" value="123">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">摘要：</label>
                        <div class="col-sm-6">
                <textarea class="form-control" rows="6" id="editxxlwtext">
                   123
                </textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">关键字：</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="editxxlwkeyword" value="21233">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="editsavexxlw()">保存</button>
            </div>
        </div>
    </div>
</div>


<!--新增视频、文档、其他、精彩一课-->
<div class="modal fade in" id="addFile" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     style="padding-right: 17px;">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title" id="">新增素材</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">文件名:</label>
                        <div class="col-sm-6" style="padding-left: 20px">
                            <input type="text" class="form-control fileName" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">文件:</label>
                        <div class="col-sm-6" style="padding-left: 20px" id="easyContainer">
                            <!--  <input type="file" accept="*/*" style="margin-top: 7px" id="InputFile">-->
                        </div>
                        <video id="video" controls="" style="display: none;"></video>
                        <div id="output" style="display:none"></div>
                    </div>

                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary easy_upload_upbtn">保存</button>
            </div>
        </div>
    </div>
</div>

<!-- 修改头像 -->
<div class="modal fade" id="editHeadImg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel18">编辑头像</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">图片:</label>
                        <div class="col-sm-6 clearfix">
                            <img id="showHeadPic" src="../img/pic.jpg" style="width: 70px;height:95px; "
                                 class="">
                            <input type="file" class=" " style="margin-top: 15px"
                                   id="changeHeadPic">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" onclick="changeHeadPic()">保存</button>
            </div>
        </div>
    </div>
</div>


<!--<script src="../js/ueditor.config.js"></script>
<script src="../js/ueditor.all.min.js"></script>-->
<script type="text/javascript">
    // 全选

    $("#all").click(function () {
        if ($(this).is(':checked')) {
            $(".check").each(function () {
                this.checked = true;
            });
        } else {
            $(".check").each(function () {
                $(this).removeAttr("checked", false);
                // $(".checked").removeAttr("checked",true);
            });
        }

    });
    $(".moban-change").click(function () {
        $("#div1").show("slow");
        $("#all").change(function () {
            if ($("#all").is(":checked")) {
                $(".xslwbox").show();
                $(".xszzbox").show();
                $(".jxcgbox").show();
                $(".wlzybox").show();
                $(".wdspbox").show();
            } else {
                $(".xslwbox").hide();
                $(".xszzbox").hide();
                $(".jxcgbox").hide();
                $(".wlzybox").hide();
                $(".wdspbox").hide();
            }
        });
        $(".xslw").change(function () {
            if ($(".xslw").is(":checked")) {
                $(".xslwbox").show();
            } else {
                $(".xslwbox").hide();
            }
        });
        $(".xszz").change(function () {
            if ($(".xszz").is(":checked")) {
                $(".xszzbox").show();
            } else {
                $(".xszzbox").hide();
            }
        });
        $(".jxcg").change(function () {
            if ($(".jxcg").is(":checked")) {
                $(".jxcgbox").show();
            } else {
                $(".jxcgbox").hide();
            }
        });
        $(".wlzy").change(function () {
            if ($(".wlzy").is(":checked")) {
                $(".wlzybox").show();
            } else {
                $(".wlzybox").hide();
            }
        });
        $(".wdsp").change(function () {
            if ($(".wdsp").is(":checked")) {
                $(".wdspbox").show();
            } else {
                $(".wdspbox").hide();
            }
        });
    });
    $(".queding").click(function () {
        $("#div1").hide("slow");
    });
    $(".quxiao").click(function () {
        $("#div1").hide("slow");
    });

    // 编辑专区
    //     function two(){
    //     var name = $(".name").html();
    //     var xueyuan = $(".xueyuan").html();
    //     $(".msxx").click(function(){
    //     $(this).parent(".edit").parent(".leftBoxTop").find(".teacher-mes").find(".teacher-name").html('<input type="text" class="form-control name_val after" value="'+name+'"><input type="text" class="form-control xueyuan_val after" value="'+xueyuan+'">');
    //     $(this).parent(".edit").hide();
    //     $(this).parent(".edit").next(".text-center").removeClass("hide");
    //     one();
    //   });
    // };
    //     function one(){
    //       $(".save1").click(function(){
    //         var name_val = $(".name_val").val();
    //         var xueyuan_val = $(".xueyuan_val").val();
    //         $(this).parent(".text-center").parent(".leftBoxTop").find(".teacher-mes").find(".teacher-name").empty().html('<p class="name">'+name_val+'</p><p class="xueyuan">'+xueyuan_val+'</p>');
    //         $(this).parent(".text-center").addClass("hide");
    //         $(this).parent(".text-center").parent(".leftBoxTop").find(".edit").show();
    //         two();
    //       });
    // };
    // two();

    var name = "";
    var xueyuan = "";
   /*  $(".msxx").click(function () {
        name = $(".name").html();
        xueyuan = $(".xueyuan").html();
        $(this).parent(".edit").parent(".leftBoxTop").find(".teacher-mes").find(".teacher-name").html('<input type="text" class="form-control name_val after" value="' + name + '"><input type="text" class="form-control xueyuan_val after" value="' +
            xueyuan + '">');
        $(this).parent(".edit").hide();
        $(this).parent(".edit").next(".text-center").removeClass("hide");
    }); */


    $(".save1").click(function () {
        var name_val = $(".name_val").val();
        var xueyuan_val = $(".xueyuan_val").val();
        $(this).parent(".text-center").parent(".leftBoxTop").find(".teacher-mes").find(".teacher-name").empty().html('<p class="name">' + name_val + '</p><p class="xueyuan">' + xueyuan_val + '</p>');
        $(this).parent(".text-center").addClass("hide");
        $(this).parent(".text-center").parent(".leftBoxTop").find(".edit").show();
    });

    $(".cancle1").click(function () {
        // var name_val = $(".name_val").val();
        // var xueyuan_val = $(".xueyuan_val").val();
        $(this).parent(".text-center").parent(".leftBoxTop").find(".teacher-mes").find(".teacher-name").empty().html('<p class="name">' + name + '</p><p class="xueyuan">' + xueyuan + '</p>');
        $(this).parent(".text-center").addClass("hide");
        $(this).parent(".text-center").parent(".leftBoxTop").find(".edit").show();
    });
</script>
<!--<script type="text/javascript">
    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');


    function getContent() {
        var arr = [];
        arr.push(UE.getEditor('editor').getContent());
        $(".content").html(arr.join("\n"));
    }
</script>-->
<script type="text/javascript">
    //学术著作编辑
    $(".xszzbox").find(".edit").find("button").click(function () {
        $(this).parent(".edit").parent(".xszzbox").find(".TitleBox").append('<div class="clearfix"></div><button type="button" class="btn btn-default btn-sm" style="margin-top:15px;" data-target="#addResourceT"  data-toggle="modal" >新增</button>');
        $(this).parent(".edit").parent(".xszzbox").find(".gonggao").find("ul").find("li").prepend('<input type="checkbox" style="margin:8px;" class="pull-left"/>');
        $(this).parent(".edit").parent(".xszzbox").find(".gonggao").find("ul").find("li").find("span").addClass("span-edit");
        $(this).parent(".edit").parent(".xszzbox").find(".gonggao").find("ul").find("li").append('<button type="button" class="btn btn-default btn-sm pull-right" data-target="#editResourceT"  data-toggle="modal" onclick="editsszz(this)">编辑</button>');
        $(this).hide();
        $(this).parent(".edit").parent(".xszzbox").find(".hide").removeClass("hide");
    })

    //教学成果编辑
    $(".jxcgbox").find(".edit").find("button").click(function () {
        $(this).parent(".edit").parent(".jxcgbox").find(".TitleBox").append('<div class="clearfix"></div><button type="button" class="btn btn-default btn-sm" style="margin-top:15px;"  data-id="2" data-typeId="2"  data-target="#addResourceT2"  data-toggle="modal" >新增</button>');
        $(this).parent(".edit").parent(".jxcgbox").find(".gonggao").find("ul").find("li").prepend('<input type="checkbox" style="margin:8px;" class="pull-left"/>');
        $(this).parent(".edit").parent(".jxcgbox").find(".gonggao").find("ul").find("li").find("span").addClass("span-edit");
        $(this).parent(".edit").parent(".jxcgbox").find(".gonggao").find("ul").find("li").append('<button type="button" class="btn btn-default btn-sm pull-right" data-target="#editResourceT"  data-toggle="modal" onclick="editsszz(this)">编辑</button>');
        $(this).hide();
        $(this).parent(".edit").parent(".jxcgbox").find(".hide").removeClass("hide");
    })

    //学术论文编辑
    $(".xslwbox").find(".edit").find("button").click(function () {
        $(this).parent(".edit").parent(".xslwbox").find(".TitleBox").append('<div class="clearfix"></div><button type="button" class="btn btn-default btn-sm" style="margin-top:15px;"  data-target="#addResourceContent"  data-toggle="modal"  data-typeId="3" >新增</button>');
        $(this).parent(".edit").parent(".xslwbox").find(".teacher-div").find("ul").find("li").prepend('<div><input type="checkbox" style="margin:8px;display:block" class="pull-left"/></div>');
        $(this).parent(".edit").parent(".xslwbox").find(".teacher-div").find("ul").find("li").append('<button type="button" class="btn btn-default btn-sm pull-right" data-target="#editResourceContent"  data-toggle="modal" onclick="editxxlw(this)">编辑</button>');
        $(this).hide();
        $(this).parent(".edit").parent(".xslwbox").find(".hide").removeClass("hide");
    })

    //我的视频编辑
    $(".wdspbox").find(".edit").find("button").click(function () {
        $(this).parent(".edit").parent(".wdspbox").find(".TitleBox").append('<div class="clearfix"></div><button type="button" class="btn btn-default btn-sm" style="margin-top:15px;"  onclick="addResourceVideo(this)">新增</button>');
        $(this).parent(".edit").parent(".wdspbox").find(".imgBox").find(".imgBoxList").prepend('<input type="checkbox" style="position:absolute;z-index:9999999999999999999999999999;margin-left:5px;margin-top:5px" />');
        $(this).hide();
        $(this).parent(".edit").parent(".wdspbox").find(".hide").removeClass("hide");
    })

    //我的资源编辑
    $(".wlzybox").find(".edit").find("button").click(function () {
        $(this).parent(".edit").parent(".wlzybox").find(".TitleBox").append('<div class="clearfix"></div><button type="button" class="btn btn-default btn-sm" style="margin-top:15px;" onclick="addResourceWang(this)">新增</button>');
        $(this).parent(".edit").parent(".wlzybox").find(".wordlist").find(".col-md-6").prepend('<input type="checkbox" style="margin:5px 8px 5px 8px;" class="pull-left"/>');
        $(this).parent(".edit").parent(".wlzybox").find(".wordlist").find(".col-md-6").attr("style", "padding-left:0px;");
        $(this).hide();
        $(this).parent(".edit").parent(".wlzybox").find(".hide").removeClass("hide");
    })


    function getTime() {
        setTimeout(function () {
            var duration = $("#video")[0].duration;
            if (isNaN(duration)) {
                getTime();
            }
            else {
                console.info("该歌曲的总时间为：" + $("#video")[0].duration + "秒");
            }
        }, 10);
    }

    <!--把文件转换成可读URL-->
    function getObjectURL(file) {
        var url = null;
        if (window.createObjectURL != undefined) { // basic
            url = window.createObjectURL(file);
        } else if (window.URL != undefined) { // mozilla(firefox)
            url = window.URL.createObjectURL(file);
        } else if (window.webkitURL != undefined) { // webkit or chrome
            url = window.webkitURL.createObjectURL(file);
        }
        return url;
    }
</script>
</body>

</html>
